﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using PhotgalleryEntities.Interfaces;

namespace PhotoGalleryEnteties
{
    public class PhotoInfo:IAlbumItem
    {
        
        protected const int _optimizedImageWidth = 800;
        protected const int _thumbnailWidthAndHeight = 100;
        
        
        public virtual int PhotoId { get; set; }
        public virtual DateTime CreationDate { get; set; } 
        public virtual string Title { get; set; }
        public virtual string Description  { get; set; }
        public virtual byte[] OriginalImage { get; set; }
        public virtual byte[] OptimizedImage { get; set; }
        public virtual byte[] ImageThumbnail { get; set; }
        public virtual int Width { get; set; }
        public virtual int Height { get; set; }
        public virtual string Format { get; set; }
        public virtual ICollection<PhotoComment> PhotoComments { get; set; }
        public virtual Album Album { get; set; }

       

    }

    public enum PhotoType
    {
        OriginalImage, OptimizedImage, ImageThumbnail
    }
}
